<?php

/**
 * mediaPhoto components.
 *
 * @package    cpfaizenay
 * @subpackage news
 * @author     Manu
 * @version    1.0
 */
class mediaPhotoComponents extends sfComponents
{
 /**
  * Executes rightPhotsoWidget action
  *
  * @param sfRequest $request A request object
  */
  public function executeRightPhotosWidget(sfWebRequest $request)
  {
    $this->photos_list = Doctrine::getTable('sfAssetMedia')->getLastPhotos()->fetchArray();
  }
}
